# -*- coding: utf-8 -*-
# @Time : 2021/7/3 21:31
# @Author : 摘星星的小女孩
# @Email : wayne_lau@aliyun.com
# @File : page_ecshop_front_submit_order.py
# @Project : ecshop
from selenium.webdriver.common.by import By


class PageEcshopFrontSubmitOrder():
    #提交订单
    def __init__(self, driver):
        self.driver = driver
        # 元素定位符loc
        self.loc_ele_submit_order = (By.XPATH,'//form[@id="theForm"]/div[11]/div[2]/input[1]')
    #我的账户
    def ele_submit_order(self):
        self.driver.find_element(*self.loc_ele_submit_order).click()#点击【提交订单】
